/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: Nurhat Uca
 * License Type: Evaluation
 */
package org.testis.orm.classes;

import org.hibernate.Criteria;
import org.orm.PersistentException;
import org.orm.PersistentSession;
import org.orm.criteria.*;

public class T_test_log_detailsCriteria extends AbstractORMCriteria {
    public final IntegerExpression id;
    public final StringExpression guid;
    public final StringExpression message;
    public final StringExpression logLevel;
    public final StringExpression logClass;
    public final StringExpression dateExecuted;
    public final StringExpression objectDescription;

    public T_test_log_detailsCriteria(Criteria criteria) {
	super(criteria);
	id = new IntegerExpression("id", this);
	guid = new StringExpression("guid", this);
	message = new StringExpression("message", this);
	logLevel = new StringExpression("logLevel", this);
	logClass = new StringExpression("logClass", this);
	dateExecuted = new StringExpression("dateExecuted", this);
	objectDescription = new StringExpression("objectDescription", this);
    }

    public T_test_log_detailsCriteria(PersistentSession session) {
	this(session.createCriteria(T_test_log_details.class));
    }

    public T_test_log_detailsCriteria() throws PersistentException {
	this(org.testis.orm.manager.TestisDbPersistentManager.instance()
		.getSession());
    }

    public T_test_log_details uniqueT_test_log_details() {
	return (T_test_log_details) super.uniqueResult();
    }

    public T_test_log_details[] listT_test_log_details() {
	return (T_test_log_details[]) super.list().toArray(
		new T_test_log_details[super.list().size()]);
    }
}
